Can Fault Prediction Models and Metrics be Used for Vulnerability Prediction?

نویسندگان

  • Yonghee Shin
  • Laurie Williams
چکیده

Finding security vulnerabilities requires a different mindset than finding general faults in software thinking like an attacker. Therefore, security engineers looking to prioritize security inspection and testing efforts may be better served by a prediction model that indicates security vulnerabilities rather than faults. At the same time, faults and vulnerabilities have commonalities that may allow development teams to use traditional fault prediction models and metrics for vulnerability prediction. The goal of our study is to determine whether fault prediction models can be used for vulnerability prediction or if specialized vulnerability prediction models should be developed when both are built with traditional metrics of complexity, code churn, and fault history. We have performed an empirical study on a widely-used, large open source project, the Mozilla Firefox web browser, where 20% of the source code files have faults and only 3% of the files have vulnerabilities. Both the fault prediction model and the vulnerability prediction model predicted vulnerabilities with high recall (over 90%) and low precision (9%). The precision from these vulnerability predictions was much lower than the precision from fault prediction (47%). Our results suggest that fault prediction models based upon traditional metrics can be substituted for specialized vulnerability prediction models, but requires significant improvement to reduce false positives. KeywordsSoftware metrics; complexity metrics; fault prediction; vulnerability prediction; open source projects

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Evaluation of Classifiers in Software Fault-Proneness Prediction

Reliability of software counts on its fault-prone modules. This means that the less software consists of fault-prone units the more we may trust it. Therefore, if we are able to predict the number of fault-prone modules of software, it will be possible to judge the software reliability. In predicting software fault-prone modules, one of the contributing features is software metric by which one ...

متن کامل

Cross Project Software Fault Prediction at Design Phase

Software fault prediction models are created by using the source code, processed metrics from the same or previous version of code and related fault data. Some company do not store and keep track of all artifacts which are required for software fault prediction. To construct fault prediction model for such company, the training data from the other projects can be one potential solution. Earlier...

متن کامل

Software Fault Prediction with Object-Oriented Metrics Based Artificial Immune Recognition System

Software testing is a time-consuming and expensive process. Software fault prediction models are used to identify fault-prone classes automatically before system testing. These models can reduce the testing duration, project risks, resource and infrastructure costs. In this study, we propose a novel fault prediction model to improve the testing process. Chidamber-Kemerer Object-Oriented metrics...

متن کامل

A comparison between software design and code metrics for the prediction of software fault content

Software metrics play an important role in measuring the quality of software. It is desirable to predict the quality of software as early as possible, and hence metrics have to be collected early as well. This raises a number of questions that has not been fully answered. In this paper we discuss, prediction of fault content and try to answer what type of metrics should be collected, to what ex...

متن کامل

Prediction of Mechanical Properties of TWIP Steels using Artificial Neural Network Modeling

In recent years, great attention has been paid to the development of high manganese austenitic TWIP steels exhibiting high tensile strength and exceptional total elongation. Due to low stacking fault energy (SFE), cross slip becomes more difficult in these steels and mechanical twinning is then the favored deformation mode besides dislocation gliding. Chemical composition along with processing ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010